Automations

Database Commands

  • Version: 2.0.0
  • Official Verified

OpenBots command for connecting to and executing queries against a database. Supports OLE DB.

OpenBots.Commands.Database \ Execute Database Query Command

Command: Execute Database Query Command

This command performs a OleDb database query.

Parameters

Database Instance Name

Enter the unique instance that was specified in the **Define Database Connection** command.

Required

Define Query Execution Type

Select the appropriate query execution type. Return Dataset in the case of a query to retrieve data. Execute NonQuery in the case of a non-retrieval action.

Required

Query

Define the OleDb query to execute.

Required

Query Parameters (Optional)

Define the query parameters.

Timeout (Seconds)

Specify how many seconds to wait before throwing an exception.

Required

Output Dataset Variable

Create a new variable or select a variable from the list.

Required

Output Affected Row Count Variable (Optional)

Create a new variable or select a variable from the list.

Private (Optional)

Optional field to mark the command as private (data sensitive) in order to avoid its logging.

Remote (Optional)

Optional field to mark the command as remote in order to execute it on a remote machine.

Error Handling

Optional field for how to handle errors encountered.

Required

Comment (Optional)

Optional field to enter a custom comment which could potentially describe this command or the need for this command.

Logo